package com.ybdz.scanner.bean;

import java.util.List;

/**
 * @ClassName: TakeTableBean
 * @author: zhao
 * @Description:    出库单
 * @date 2018/2/9 17:11
 */
public class ChuKuDanBean {

    /**
     * status : 200
     * msg : 查询完毕
     * data : {"outBatch":[{"id":24,"skuId":2,"outFormId":12,"outInventoryId":18,"quantity":1,"scanQuantity":null,"productBatch":"201803141013BC","producedDate":"2018-02-28","overdueDate":"2018-03-15","contractNumber":"澳大利亚黄瓜条谷饲牛BC测试","warehouseId":1521600888859900432,"isDeleted":false},{"id":25,"skuId":4,"outFormId":12,"outInventoryId":19,"quantity":1,"scanQuantity":null,"productBatch":"cppc20180314001","producedDate":"2018-03-01","overdueDate":"2018-06-30","contractNumber":"黄牛黄瓜条","warehouseId":1521600888859900432,"isDeleted":false},{"id":26,"skuId":5,"outFormId":12,"outInventoryId":20,"quantity":1,"scanQuantity":null,"productBatch":"PC20180315","producedDate":"2018-03-01","overdueDate":"2020-03-01","contractNumber":"乌拉圭黄瓜条50kg","warehouseId":1521600888859900432,"isDeleted":false},{"id":27,"skuId":6,"outFormId":12,"outInventoryId":21,"quantity":1,"scanQuantity":null,"productBatch":"C0001","producedDate":"2018-03-16","overdueDate":"2018-04-27","contractNumber":"上海饮用水","warehouseId":1521600888859900432,"isDeleted":false}],"outFormCode":"CK20180321000012"}
     */

    private int status;
    private String msg;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * outBatch : [{"id":24,"skuId":2,"outFormId":12,"outInventoryId":18,"quantity":1,"scanQuantity":null,"productBatch":"201803141013BC","producedDate":"2018-02-28","overdueDate":"2018-03-15","contractNumber":"澳大利亚黄瓜条谷饲牛BC测试","warehouseId":1521600888859900432,"isDeleted":false},{"id":25,"skuId":4,"outFormId":12,"outInventoryId":19,"quantity":1,"scanQuantity":null,"productBatch":"cppc20180314001","producedDate":"2018-03-01","overdueDate":"2018-06-30","contractNumber":"黄牛黄瓜条","warehouseId":1521600888859900432,"isDeleted":false},{"id":26,"skuId":5,"outFormId":12,"outInventoryId":20,"quantity":1,"scanQuantity":null,"productBatch":"PC20180315","producedDate":"2018-03-01","overdueDate":"2020-03-01","contractNumber":"乌拉圭黄瓜条50kg","warehouseId":1521600888859900432,"isDeleted":false},{"id":27,"skuId":6,"outFormId":12,"outInventoryId":21,"quantity":1,"scanQuantity":null,"productBatch":"C0001","producedDate":"2018-03-16","overdueDate":"2018-04-27","contractNumber":"上海饮用水","warehouseId":1521600888859900432,"isDeleted":false}]
         * outFormCode : CK20180321000012
         */

        private String outFormCode;
        private List<OutBatchBean> outBatch;

        public String getOutFormCode() {
            return outFormCode;
        }

        public void setOutFormCode(String outFormCode) {
            this.outFormCode = outFormCode;
        }

        public List<OutBatchBean> getOutBatch() {
            return outBatch;
        }

        public void setOutBatch(List<OutBatchBean> outBatch) {
            this.outBatch = outBatch;
        }

        public static class OutBatchBean {
            /**
             * id : 24
             * skuId : 2
             * outFormId : 12
             * outInventoryId : 18
             * quantity : 1
             * scanQuantity : null
             * productBatch : 201803141013BC
             * producedDate : 2018-02-28
             * overdueDate : 2018-03-15
             * contractNumber : 澳大利亚黄瓜条谷饲牛BC测试
             * warehouseId : 1521600888859900432
             * isDeleted : false
             */

            private int id;
            private int skuId;
            private int outFormId;
            private int outInventoryId;
            private int quantity;
            private String scanQuantity;
            private String productBatch;
            private String producedDate;
            private String overdueDate;
            private String contractNumber;
            private long warehouseId;
            private boolean isDeleted;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getSkuId() {
                return skuId;
            }

            public void setSkuId(int skuId) {
                this.skuId = skuId;
            }

            public int getOutFormId() {
                return outFormId;
            }

            public void setOutFormId(int outFormId) {
                this.outFormId = outFormId;
            }

            public int getOutInventoryId() {
                return outInventoryId;
            }

            public void setOutInventoryId(int outInventoryId) {
                this.outInventoryId = outInventoryId;
            }

            public int getQuantity() {
                return quantity;
            }

            public void setQuantity(int quantity) {
                this.quantity = quantity;
            }

            public String getScanQuantity() {
                return scanQuantity;
            }

            public void setScanQuantity(String scanQuantity) {
                this.scanQuantity = scanQuantity;
            }

            public String getProductBatch() {
                return productBatch;
            }

            public void setProductBatch(String productBatch) {
                this.productBatch = productBatch;
            }

            public String getProducedDate() {
                return producedDate;
            }

            public void setProducedDate(String producedDate) {
                this.producedDate = producedDate;
            }

            public String getOverdueDate() {
                return overdueDate;
            }

            public void setOverdueDate(String overdueDate) {
                this.overdueDate = overdueDate;
            }

            public String getContractNumber() {
                return contractNumber;
            }

            public void setContractNumber(String contractNumber) {
                this.contractNumber = contractNumber;
            }

            public long getWarehouseId() {
                return warehouseId;
            }

            public void setWarehouseId(long warehouseId) {
                this.warehouseId = warehouseId;
            }

            public boolean isIsDeleted() {
                return isDeleted;
            }

            public void setIsDeleted(boolean isDeleted) {
                this.isDeleted = isDeleted;
            }
        }
    }
}
